# _*_ coding:utf-8 _*_
def unm1(a,b):
    import time
    count=time.strptime(a,"%Y-%m-%d")
    lst=time.mktime(count)
    count1=time.strptime(b,"%Y-%m-%d")
    lst1=time.mktime(count1)
    time_diffeience=(lst-lst1)//60//60//24
    return time_diffeience
a=input("请输入一个日期（格式（年-月-日）:")
b=input("请输入一个日期（格式（年-月-日）:")
unm2=unm1(a,b)
if unm2>=0:
    pass
else:
    unm2=(-unm2)
print(f"{a}和{b}相差天数为:{unm2}")